So , next time somebody speaks of parallax mapping with stars in his eyes , don ' t let him fool you 因此,下次有人在說視差貼圖,不要讓他唬弄您。
The correct implementation ( iterative parallax mapping ) has a medium cost and can easily cut your framerate in half 而修正過的實現(xiàn)方式(交叉視差貼圖)則有不小的性能損失,能輕易地把你的幀速率降掉一半。
The surface you ' re looking at must be magnified ( this is the tech word for saying very zoomed - in ) . if you are very far from the surface , parallax mapping is invisible 要放大對象(走到對象的前方) ,如果從遙遠的地方觀看對象,會使視差貼圖失效。
Parallax mapping is a trick , implemented in a pixel shader , to distort the texture coordinates of a pixel before performing the usual per - pixel operations such as texturing and lighting 視差貼圖是實施在紋理陰影上的把戲,在每一個紋理顯示之前,拉伸和改變紋理的位置和亮度。
The surface you ' re looking at must be magnified ( this is the tech word for saying very zoomed - in ) . if you are very far from the surface , parallax mapping is invisible 你正在觀看的物體表面必須被”放大” (這是個技術(shù)詞匯,就是把鏡頭拉得非常近的意思) .如果你里該表面比較遠的話,視差貼圖的效果就會感覺不出來。
百科解釋
Parallax mapping (also called offset mapping or virtual displacement mapping) is an enhancement of the bump mapping or normal mapping techniques applied to textures in 3D rendering applications such as video games. To the end user, this means that textures such as stone walls will have more apparent depth and thus greater realism with less of an influence on the performance of the simulation.